package cn.bytepath.product.query;

import cn.bytepath.base.query.BaseQuery;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 产品的查询条件保存类
 * @author Jack.C
 * @createDate 2022-01-24
 * @version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ProductQuery extends BaseQuery {

    /**
     * 产品名字
     */
    private String name;

    @Override
    public String toString() {
        return "DepartmentQuery{" +
                "name='" + name + '\'' +
                ",PSize=" + super.getPSize() +
                ", cPage=" + super.getCPage() +
                '}';
    }
}
